/*
============================================================================
Name        : LuaUIApplication.cpp
Author      : Jian
Version     :
Copyright   : Jian
Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "LuaUIDocument.h"
#include "LuaUIApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidLuaUIApp = { 0xed10ddbb };

// -----------------------------------------------------------------------------
// CLuaUIApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CLuaUIApplication::CreateDocumentL()
{
    // Create an LuaUI document, and return a pointer to it
    return (static_cast<CApaDocument*>
        ( CLuaUIDocument::NewL( *this ) ) );
}

// -----------------------------------------------------------------------------
// CLuaUIApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CLuaUIApplication::AppDllUid() const
{
    // Return the UID for the LuaUI application
    return KUidLuaUIApp;
}

// End of File
